Release 10.1A: OpenEdge Getting Started:
WebSpeed Essentials


Specifying the location of static files

Static files include HTML, JavaScript, Cascading Style Sheet, application, and graphics files. The Web server can find these files through the use of virtual directories, or it can find them when they are installed under the Web Server’s Document Root directory. You choose where to put the static files during the installation of WebSpeed, either copying them to the Document Root Directory or creating a virtual path to them. The actual location of the Document Root Directory depends on your Web server.

Rather than physically moving static files into or below the Document Root, you can set up a virtual directory that points to the directory (install_dir\tty\webtools) that contains the static files. For more information on setting up virtual directories, see the "Configuring virtual directories for the IIS Web server" section or the "Configuring virtual directories for the Apache Web server" section. Refer to individual product documentation for other Web servers.

The static files for Web applications reside under a relative path structure with main module files separated into subdirectories, as shown in Table 2–1.

Table 2–1: Directory structure for static files
Directory
Contents
path
Link pages for testing and tools (index.html, default.htm).
path\dhtml
DHTML files: .css, .htm, and .js.
path\img
Images.

Note: In table Table 2–1, path can be either a virtual directory that points to install_dir\tty\webtools, or a document_root_dir\ (where document_root_dir is the Document Root directory of your Web server).

Caution: These files are only used for the WebSpeed Workshop. For security reasons, they should not be available in nondevelopment environments.

Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095